﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.Diagnostics.ForcedCrashCategory
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

#nullable disable
namespace UnityEngine.Diagnostics
{
  /// <summary>
  ///   <para>Specifies the category of crash to cause when calling ForceCrash().</para>
  /// </summary>
  public enum ForcedCrashCategory
  {
    /// <summary>
    ///         <para>Cause a crash by performing an invalid memory access.
    /// 
    /// The invalid memory access is performed on each platform as follows:</para>
    ///       </summary>
    AccessViolation,
    /// <summary>
    ///   <para>Cause a crash using Unity's native fatal error implementation.</para>
    /// </summary>
    FatalError,
    /// <summary>
    ///   <para>Cause a crash by calling the abort() function.</para>
    /// </summary>
    Abort,
    /// <summary>
    ///   <para>Cause a crash by calling a pure virtual function to raise an exception.</para>
    /// </summary>
    PureVirtualFunction,
    /// <summary>
    ///   <para>Cause a crash by calling the abort() function within the Mono dynamic library.</para>
    /// </summary>
    MonoAbort,
  }
}
